package com.kehongborui.fliggy.model;

import com.kehongborui.fliggy.enums.VehicleStatus;

import java.util.Date;
import java.util.List;

/**
 * @author zhang peng yang ming
 * @CopyRight (C) http://www.csdn.com
 * @brief
 * @email 122162005@qq.com
 * @date 2018-08-21
 */
public class VehicleModel {
    private Long id;

    /**
     * 车辆分类
     */
    private Byte category;

    /**
     * 列车编号
     * @mbggenerated
     */
    private String vehicleNo;

    /**
     * 所属公司
     */
    private String company;

    /**
     * 起点站
     */
    private Long depStation;

    /**
     * 起点站名称
     */
    private String depStationName;

    /**
     * 起点站发车时间 06:04
     */
    private String depTime;

    /**
     * 到达车站
     */
    private Long arrStation;

    /**
     * 到达车站名称
     */
    private String arrStationName;

    /**
     * 到达时间
     */
    private String arrTime;

    /**
     * 总里程，起点到终点站的里程，单位（KM）
     */
    private Double mileage;

    /**
     * 座位数量
     */
    private Integer seatsAmount;

    /**
     * 发车日期 2018-08-22
     */
    private Date depDate;

    /**
     * 经停站
     */
    private List<PassStationModel> passStationModelList;

    /**
     * 车辆状态
     * NORMAL(0, "正常"),
     * OFF(1, "停运");
     */
    private Byte vehicleStatus = VehicleStatus.NORMAL.getCode();

    public Byte getCategory() {
        return category;
    }

    public void setCategory(Byte category) {
        this.category = category;
    }

    public String getVehicleNo() {
        return vehicleNo;
    }

    public void setVehicleNo(String vehicleNo) {
        this.vehicleNo = vehicleNo;
    }

    public String getCompany() {
        return company;
    }

    public void setCompany(String company) {
        this.company = company;
    }

    public Long getDepStation() {
        return depStation;
    }

    public void setDepStation(Long depStation) {
        this.depStation = depStation;
    }

    public String getDepTime() {
        return depTime;
    }

    public void setDepTime(String depTime) {
        this.depTime = depTime;
    }

    public Long getArrStation() {
        return arrStation;
    }

    public void setArrStation(Long arrStation) {
        this.arrStation = arrStation;
    }

    public String getArrTime() {
        return arrTime;
    }

    public void setArrTime(String arrTime) {
        this.arrTime = arrTime;
    }

    public Double getMileage() {
        return mileage;
    }

    public void setMileage(Double mileage) {
        this.mileage = mileage;
    }

    public Integer getSeatsAmount() {
        return seatsAmount;
    }

    public void setSeatsAmount(Integer seatsAmount) {
        this.seatsAmount = seatsAmount;
    }

    public Date getDepDate() {
        return depDate;
    }

    public void setDepDate(Date depDate) {
        this.depDate = depDate;
    }

    public Byte getVehicleStatus() {
        return vehicleStatus;
    }

    public void setVehicleStatus(Byte vehicleStatus) {
        this.vehicleStatus = vehicleStatus;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public List<PassStationModel> getPassStationModelList() {
        return passStationModelList;
    }

    public void setPassStationModelList(List<PassStationModel> passStationModelList) {
        this.passStationModelList = passStationModelList;
    }

    public String getDepStationName() {
        return depStationName;
    }

    public void setDepStationName(String depStationName) {
        this.depStationName = depStationName;
    }

    public String getArrStationName() {
        return arrStationName;
    }

    public void setArrStationName(String arrStationName) {
        this.arrStationName = arrStationName;
    }
}
